home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / The Hacks! / mhTV ƒ / TVSource / SourceThatMatters / General / Flog.c < prev    next >
C/C++ Source or Header  |  1998-06-21  |  738b  |  32 lines

  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <MacTypes.h> 
  4. #include <Timer.h>
  5. #include <DriverServices.h>
  6. #include <Files.h>
  7. #include <OSUtils.h>
  8. #include <MacMemory.h>
  9.  
  10. int mjhassert(char*, char*, int);
  11.  
  12. int mjhassert(char* exprStr, char* fileStr, int lineNum)
  13. {
  14. //    char outStr[512];
  15. //    sprintf(outStr, 
  16. //      " Asrt fld: %100s, file %32s, line %d\n", exprStr, fileStr, lineNum);
  17. //    outStr[0]=strlen(outStr);
  18.  
  19. #if STAND_ALONE
  20.     DebugStr( (unsigned char*)outStr );
  21. #else
  22.     //This is necessary under MW because otherwise their debugger crashes.
  23.     DebugStr( "\pa" );
  24. #endif
  25.  
  26. //    sprintf(outStr, "XXX %100s", exprStr);
  27. //    outStr[0]=strlen(outStr);
  28.  
  29.     return 0;
  30. }
  31. ///=============================================================================
  32.